package game.banana.server.gameroom;

import game.banana.server.handler.BananaGameSessionHandler;

import org.menacheri.jetserver.app.PlayerSession;
import org.menacheri.jetserver.app.impl.GameRoomSession;

public class BananaGameRoom extends GameRoomSession {

	public BananaGameRoom(GameRoomSessionBuilder gameRoomSessionBuilder) {
		super(gameRoomSessionBuilder);
	}

	@Override
	public void onLogin(PlayerSession playerSession) {
		BananaGameSessionHandler handler = new BananaGameSessionHandler(playerSession);
		playerSession.addHandler(handler);
	}
}
